import VueRouter from 'vue-router'
import login from './components/user/login.vue'
import usermanage from './components/main/userManage.vue'
import cate1 from './components/main/cate1.vue'
import cate2 from './components/main/cate2.vue'
import product from './components/main/product.vue'
var router = new VueRouter({
    routes:[
        {path:'/',redirect:'/userManage'},
        {path:'/login',component:login},
        {path:'/userManage',component:usermanage},
        {path:'/cate1',component:cate1},
        {path:'/cate2',component:cate2},
        {path:'/product',component:product},
    ],
    
});
export default router